翻訳と辞書
Words near each other
・ Shaznay Lewis
・ Shaznay Lewis discography
・ Shazuan Ashraf Mathews
・ Shazz
・ Shazza
・ Shazza McKenzie
・ Shazzan
・ Shazzy Fitness
・ Shaʿrānī
・ SHB
・ SHB (gene)
・ SHB Da Nang F.C.
・ SHB Vientiane F.C.
・ SHBT
・ SHC
Shc the shell script compiler
・ SHC1
・ SHC2
・ SHC3
・ SHCBP1
・ SHCC
・ Shcha
・ Shchara River
・ Shchaslyve
・ Shchaslyvtseve
・ Shchastya
・ Shchastya Bay
・ Shche ne vmerla Ukraina
・ Shchedrin
・ Shchedryk


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Shc the shell script compiler : ウィキペディア英語版
Shc the shell script compiler
SHC is a shell script compiler written in C programming language. The Shell Script Compiler (SHC) converts linux shell scripts directly into executable binaries. Compiling shell scripts into binaries provides protection against accidental changes, source modification and renders a way of hiding source code written in linux shell scripting language.〔http://www.linux-magazine.com/Online/Features/SHC-Shell-Compiler〕
== Mechanism ==

SHC takes a shell script which is specified on the command line by (filename ) option and produces a C source code of the script. The generated source code is then compiled and linked to produce a binary executable. Thus it's a two step process where, at first step, it creates a filename.x.c file of the shell script file filename. Then it is compiled with cc -$CFLAGS filename.x.c and thus build the binary from a C source code with the default C compiler available in any system.〔
The compiled binary will still be dependent on the shell specified in the first line of the shell code (i.e. Shebang: #!/bin/sh or such), thus shc does not create completely independent binaries.〔
shc itself is not a compiler such as the C compiler, it rather encodes and encrypts a shell script and generates C source code with the added expiration capability. It then uses the system C compiler to compile the source shell script and build a stripped binary which behaves exactly like the original script. Upon execution, the compiled binary will decrypt and execute the code with the shells' -c option.〔

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Shc the shell script compiler」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.